package router

import (
	"api_client/handler/api"
	"github.com/gin-gonic/gin"
)

func Routers(r *gin.Engine) {
	v1 := r.Group("/v1")
	{
		apiGroup := v1.Group("/api")
		{
			ShopWindow(apiGroup)
		}
	}
}

func ShopWindow(group *gin.RouterGroup) {
	shopWindow := group.Group("/shop_window")
	{
		//shopWindow.Use(pkg.JWTAuth("2303a"))
		shopWindow.POST("/add_shop_window_products", api.AddShopWindowProducts)
	}
}
